﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http.Filters;
using TjZheng.Framework;

namespace TjZheng.WebApi.Test.Controllers
{
    public class MyActionFilter : ActionFilterAttribute
    {
        public override void OnActionExecuting(System.Web.Http.Controllers.HttpActionContext actionContext)
        {
            actionContext.Response = actionContext.ActionDescriptor.ResultConverter.Convert(actionContext.ControllerContext, new List<string> { "1", "2" });
        }
    }
}